﻿using System;
using System.Collections.Generic;
using System.Text;
using StockTrader.BusinessService.DataContract.Global;

namespace StockTrader.DAL.IDAL.Global
{
    public interface IStocksInfo
    {
        void Open(string connString);
        void Close();

        List<StocksInfoData> getAllStocksInfo();
        StocksInfoData getStocksInfoById(int stockId);
        void deleteStocksInfo();
        void insertStocksInfo(StocksInfoData stock);
    }
}
